package co.fitstart.coach.service;

import java.util.Map;

import com.demo2do.core.support.Result;

import co.fitstart.entity.course.ResultReport;
import co.fitstart.entity.course.round.CourseRound;
import co.fitstart.entity.user.bwh.BwhRecord;

/**
 * 
 * @author haiyan_xiao
 *
 */
public interface ResultReportService {
    /**
     * 
     * @param courseRound
     * @return
     */
    public Map<Integer, BwhRecord> listBwhRecord(CourseRound courseRound);
    
    /**
     * 
     * @param courseRound
     * @return
     */
    public ResultReport loadResultReport(CourseRound courseRound);
    
    /**
     * load BwhRecord by courseRound and week
     * @param courseRound
     * @param week
     * @return
     */
    public BwhRecord loadBwhRecord(CourseRound courseRound, int week);
    
    /**
     * edit bwh
     * @param courseRound
     * @param bwhRecord
     */
    public void editBwhRecord(CourseRound courseRound, BwhRecord bwhRecord);
    
    /**
     * edit change
     * @param courseRound
     * @param resultReport
     */
    public void editChange(CourseRound courseRound, ResultReport resultReport);
    
    /**
     * 编辑总结
     * @param courseRound
     * @param summary
     * @param wordsToStudent
     */
    public void editSummary(CourseRound courseRound, String summary, String wordsToStudent);
    
    /**
     * upload contrast photo
     * @param courseRound
     * @param mediaId
     * @param suffix 后缀（before：入营时；after：结营时）
     * @return
     */
    public Result uploadContrastPhoto(CourseRound courseRound, String mediaId, String suffix);
}
